package com.plant.service;

import java.util.List;
import java.util.Map;

import com.plant.entity.UgcComment;
import com.plant.entity.UgcLike;
import com.plant.entity.UgcUser;

/**
 * 
 * @author Java工程师--李琦
 * 
 * 
 *
 */
public interface HomePageService {
	
	public boolean AddLikes(UgcLike ul);              			              //-----1.用户点赞
	
	public List<Object> LikesID(Integer user_id,Integer content_type,Integer content_id,Integer current_user_id);					//---2.判断是否点赞
	
	public boolean DeleteLikes(UgcLike ul);						               //---3..取消点赞
	
	public boolean AddComment(UgcComment uc);                                  //添加评论
	
	public List<Map<String, Object>> NoFriendUserInf(Object obj);               //推荐3个陌生人
	
	public boolean CheckLikes(UgcUser u,Object objuid,Object objcontentid); 	//判断用户是否点赞
	
	public boolean CheckLikesI(UgcUser u,Integer objuid,Object objcontentid);	//判断用户是否点赞
	
	public boolean CheckTonpicJoinLikes(UgcUser u,Object objuid,Object objcontentid);	//判断用户是否点赞
	
	public List<Object[]> LikesList(Object ids,Object objcontentid);	   //新鲜事点赞列表
	
	public List<Map<String, Object>> LikesListI(Object objcontentid);	   //新鲜事点赞列表
	
	public List<Object[]> TopicLikesList(Object ids,Object objcontentid);  //话题参与点赞列表
	
	public List<Object[]> CommentList(Object ids,Object obj);				//查找新鲜事评论列表
	
	public List<Map<String,Object>> CommentListI(Object ids,Object obj);	//查找新鲜事评论列表	
	
	public List<Object[]> TopicCommentList(Object ids,Object obj);         //查找话题参与评论列表
	
}
